package com.ice.body.hardware.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ice.base.model.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Component;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
/**
 * Created by GuoYanBin.
 * Description:二维码扫描器
 * Create Time: 2021-12-22 02:57
 */
@Component
@Data
public class DeviceQr implements Serializable {

    private Long id;

    @ApiModelProperty(value ="IP地址",position = 0)
    private String ip;

    @ApiModelProperty(value ="端口号",position = 1)
    private String port;

    @ApiModelProperty(value ="归属试剂库id",position = 2)
    private String warehouseId;

    @ApiModelProperty(value ="归属试剂库名称",position = 3)
    private String warehouseName;

    @ApiModelProperty(value ="归属房间id",position = 4)
    private String roomId;

    @ApiModelProperty(value ="归属房间",position = 5)
    private String roomName;

    @ApiModelProperty(value ="备注",position = 6)
    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
}
